import service from '@/utils/baseApi.js'
export function getPhone(data) {
	return service({
		url: '/login/getPhone',
		method: 'post',
		data
	})
}
export function code2Session(data) {
	return service({
		url: '/login/code2Session',
		method: 'Get',
		data
	})
}
// 会员注册/登录
export function registerLoginByPhone(data) {
	return service({
		url: '/login/registerLoginByPhone',
		method: 'post',
		data
	})
}
// 获取用户信息
export function getInfo(data) {
	return service({
		url: '/login/getInfo',
		method: 'get',
		data
	})
}
export function captchaSms(data) {
	return service({
		url: '/captchaSms',
		method: 'get',
		data
	})
}